﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DingTalkAgent.Web.Models
{
    public class JsonTree
    {
        private string _id = string.Empty;

        public string id
        {
            get { return _id; }
            set { _id = value; }
        }

        private string _text = string.Empty;

        public string text
        {
            get { return _text; }
            set { _text = value; }
        }

        private string _state = "open";

        public string state
        {
            get { return _state; }
            set { _state = value; }
        }
        private List<JsonTree> _children;

        public List<JsonTree> children
        {
            get { return _children; }
            set { _children = value; }
        }
    }
}